package gti310.tp3;

import java.util.List;

public class GraphHolder {

	// public field shame on me
	public int verticleNb;
	public int infinityValue;
	public int startingVerticle = 1;

	public List<String> paramList;
	public List<String[]> verticleList;

	public GraphHolder(List<String> strlist, List<String[]> verticleList) {
		this.paramList = strlist;
		if (strlist.size() == 2) {
			strlist.add(String.valueOf(this.startingVerticle));
		}
		this.verticleNb = Integer.parseInt(strlist.get(0));
		this.infinityValue = Integer.parseInt(strlist.get(1));
		this.startingVerticle = Integer.parseInt(strlist.get(2));
		this.verticleList = verticleList;
	}
}
